package cn.mw.cmdb.service;

import cn.mw.cmdb.entity.FinanceReport.FinanceReportDictionaryInfo;
import cn.mw.cmdb.entity.FinanceReport.FinanceReportGroupInfo;
import cn.mw.components.mongodb.entity.SearchParam;

import java.util.List;

public interface FinanceReportDictionaryService {

    boolean addOrUpdateFinanceReportGroupInfo(FinanceReportGroupInfo dataSourceGroupInfo);

    boolean deleteFinanceReportGroupInfo(String groupId) throws Exception;

    FinanceReportGroupInfo getGroupInfo(String groupId) throws Exception;

    Object getGroupTree(Integer channelId) throws Exception;

    Boolean addOrUpdateFinanceReportDictionary(FinanceReportDictionaryInfo financeReportDictionaryInfo) throws Exception;

    boolean batchDeleteFinanceReportDictionaryInfo(List<String> ids) throws Exception;

    Object getFinanceReportDictionaryInfoByPage(SearchParam param) throws Exception;

}
